﻿<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="{:_SKIN}/shadmin/login/js/html5.js"></script>
    <script type="text/javascript" src="{:_SKIN}/shadmin/login/js/respond.min.js"></script>
    <script type="text/javascript" src= "js/pie_ie678.js"></script>
    <![endif]-->
    
    <!--[if IE 6]>
    <script type="text/javascript" src="{:_SKIN}/shadmin/login/js/dd_belatedpng_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title></title>
    
    
</head>
<body>
    
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

 

    <meta charset="utf-8">
    <title>搜禾.科技互联运营管理平台</title>
    <link href="{:_SKIN}/shadmin/login/css/base.css" rel="stylesheet">
    <link href="{:_SKIN}/shadmin/login/css/default.css" rel="stylesheet">
    <link href="{:_SKIN}/shadmin/login/css/head.css" rel="stylesheet">

    <link rel="stylesheet" href="{:_SKIN}/shadmin/login/css/login.css">

    <style>
        /*.top-link { position: absolute; right: 5px; bottom: 30px; font-size: 16px; }
        .top-link a { padding: 0 0 0 12px;color:#666; }*/
    </style>
    <style>
        .center {
            width: 1180px;
        }
    </style>
</head>
<body style="zoom: 1;">

    <div class="box">
        <div class="center" style="width:960px !important;position:relative;padding:10px 0 10px 0;">
            <h1><a href="/"><img src="{:_SKIN}/shadmin/login/pic/logo.png" class="login-logo" border=0></a></h1>
            <div class="top-link">
                全国统一客服热线：400-114-8070

            </div>
        </div>
        <div class="logo-content">
            <div class="center banner">
                <div class="logo-input-box">
                    <div class="logo-type">
                        <ul class="clearfix Js_typeItem">
                            <li class="current">搜禾后台管理系统</li>
                            <li></li>
                        </ul>
                    </div>
                    <div id="errorLayout" class="logo-input error hidden">
                        <span><s></s></span>
                        <i class="input-right" id="txtError"></i>
                    </div>
                    <div class="Js_loginType">
                        <form method="post" name="loginfrom" action="/Home/Login">
                            <div class="logo-input name clearfix">
                                <span><s></s></span>
                                <div class="input-right logo-format-input">
                                    <input type="text" id="userName" name="userName" placeholder="请输入管理员账号">
                                </div>
                            </div>
                            <div class="logo-input pwd clearfix">
                                <span><s></s></span>
                                <div class="input-right logo-format-input">
                                    <input type="password" id="passWord" name="passWord" placeholder="请输入密码">
                                </div>
                            </div>
                            <div class="login-btn">
                                <input type="button" CLASS="button" value="登&nbsp;录" onclick="sub()" style="cursor:pointer;" />
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="d_bg footer">

    </div>
    <div class="center link" style="width:1180px;">
        <div class="link-item">
            <span class="bq">版权所有 © 山西侬伕电子商务有限公司 2015-2016 | 保留一切权利 | 晋ICP备12009201号-1</span>
            <br>
            <br>
        </div>
    </div>
</body>
</html>
    {:jq()}
    {:layer()}
    
     <script type="text/javascript">

if(window.top !== window.self) {
     top.location.replace(self.location.href);
}
         $('html').bind('keydown',function(e){
             if(e.keyCode==13){
                sub();
             }
         });


      function sub(){

          var data={

              user:$("#userName").val(),
              pwd:$("#passWord").val()

          }

          if(!data.user || !data.pwd){

              layer.msg("请输入用户名和密码",{shift:6});
              return false;

          }
          
           layer.msg('登录中', {
          time:2000,         
          icon: 16
          ,shade: 0.5
           });
          $.post("{:Url('shadmin/login/index')}",data,function(res){

               if(res.code==200){

                   window.location.href=res.url;


               }else{

                   layer.msg(res.msg,{shift:6});

               }



          });




      }

    </script>
</body>
</html>
